﻿// Copyright (c) ZeroC, Inc.

using IceRpc.Features;
using IceRpc.Slice;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VisitorCenter;

namespace Client;

[SliceService]
public partial class CallBackTodo : ICallBackService
{
    public ValueTask<string> TodoAsync(string msg, IFeatureCollection features, CancellationToken cancellationToken)
    {

        Console.WriteLine($"{msg} from server");
        return new($"to do ok by client.{msg}");
    }
}
